package pers.zb.cloud.service.upms.enums;

import lombok.Getter;
import pers.zb.cloud.service.upms.enums.mybatis.BaseEntityEnum;

@Getter
public enum MenuType implements BaseEntityEnum<MenuType> {
    NODE(1,"节点"),
    DIRECTORY(2,"目录");

    private int code;
    private String value;

    MenuType(int code, String value) {
        this.code = code;
        this.value = value;
    }

    @Override
    public int getIntValue() {
        return this.code;
    }
}
